package com.example.hetong.service;

// import com.baomidou.mybatisplus.core.metadata.IPage;
// import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hetong.entity.Contract;
import com.example.hetong.param.ContractParam;

import java.util.HashMap;
import java.util.List;

/**
 * --- 行成于思,毁于随 ---
 *
 * @author Song
 * @date 2024/9/11
 * @desc First
 */
public interface ContractService  {
    List<Contract> finaAll();

    boolean delete(int id);

    boolean addList(Contract contract);

    /**
     * 获取最近使用分页
     */
    // IPage<Contract> page(ContractParam contractParam);

    List<String> findKuang();

    List<Contract> findByMap(HashMap<String, String> map);
}
